'use strict';

/**
 * App 端接口
 * @param {Egg.Application} app - egg application
 * @param {String} prefix - 路由公共前缀
 */
module.exports = (app, prefix) => {
  const { router, controller } = app;
  // const verifyMinaSession = middleware.verifyMinaSession();

  /** ------------------------------------------- 通用接口 ------------------------------------------- **/
  // 下载视频
  router.get(`${prefix}/common/download-video`, controller.common.downloadVideo);
};
